ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.Bitmap Namespace / C1Bitmap Class / Load Method / Load(String,ContainerFormat,Nullable<ImageRect>,BaseTransform[]) Method
The input file name.
The image container format; use Unknown to detect the format automatically.
Clipping rectangle for the image after all transformations.
The transformation chain for the image that is being loaded.

In This Topic
    Load(String,ContainerFormat,Nullable<ImageRect>,BaseTransform[]) Method
    In This Topic
    Loads the image from a file.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal fileName As String, _
       ByVal containerFormat As ContainerFormat, _
       ByVal imageRect As Nullable(Of ImageRect), _
       ByVal ParamArray transforms() As BaseTransform _
    ) 
    public void Load( 
       string fileName,
       ContainerFormat containerFormat,
       Nullable<ImageRect> imageRect,
       params BaseTransform[] transforms
    )

    Parameters

    fileName
    The input file name.
    containerFormat
    The image container format; use Unknown to detect the format automatically.
    imageRect
    Clipping rectangle for the image after all transformations.
    transforms
    The transformation chain for the image that is being loaded.
    See Also